package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 客户参数
 * @author LikeAdmin
 */
@Data
@ApiModel("客户更新参数")
public class CustomerUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

//    @IDMust(message = "customerNumber参数必传且需大于0")
    @ApiModelProperty(value = "客户编号")
    private Long customerNumber;

    @NotNull(message = "customerName参数缺失")
    @ApiModelProperty(value = "客户姓名")
    private String customerName;

    @NotNull(message = "customerCall参数缺失")
    @ApiModelProperty(value = "客户电话")
    private String customerCall;

    @NotNull(message = "idNumber参数缺失")
    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @NotNull(message = "sex参数缺失")
    @ApiModelProperty(value = "性别1男 2女")
    private String sex;

    @NotNull(message = "address参数缺失")
    @ApiModelProperty(value = "住址")
    private String address;

    @NotNull(message = "bank参数缺失")
    @ApiModelProperty(value = "银行")
    private String bank;

    @NotNull(message = "amountDue参数缺失")
    @ApiModelProperty(value = "欠款金额")
    private BigDecimal amountDue;

    @NotNull(message = "caseType参数缺失")
    @ApiModelProperty(value = "案件类型0:经济案件1民事纠纷2:其他案件")
    private Long caseType;

    @NotNull(message = "remark参数缺失")
    @ApiModelProperty(value = "备注")
    private String remark;

    @NotNull(message = "courtClerkId参数缺失")
    @ApiModelProperty(value = "调解员id")
    private Long courtClerkId;

}
